package mk.basic;

import java.util.Scanner;

public class LeapYear {

	public static void main(String[] args) {
		
		int year;
		
		Scanner sc = null;
		sc = new Scanner(System.in);
		System.out.print("현재 연도를 입력하세요: ");
		year = sc.nextInt();
		
		
		if (year % 4 == 0 && year % 100 != 0)System.out.println(year +"는 윤년입니다");
		else if (year % 400 == 0) System.out.println(year +"는 윤년입니다");
		else System.out.println (year + "윤년이 아닙니다");
		
		
		sc.close(); 
	}

}
